﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CnGine.Web;

public partial class ascx_UserInfo : ControlBase
{

    public Model.User user = new Model.User();


    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["user"] == null)
        {
            divUserInfo.Visible = false;
        }
        else
        {
            user = Session["user"] as Model.User;
        }
    }
}